﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace FlexiCommerce.Components
{
    public interface IHierarchicalPersistenceItem
    {
        IList<IHierarchicalPersistenceItem> Children { get; set; }
        IHierarchicalPersistenceItem Parent { get; set; }
        int SortOrder { get; set; }
        void AddTo(IHierarchicalPersistenceItem newParent);
        int ID { get; set; }
    }


}
